/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.tesam.gedeon.service.impl;

import com.tesam.gedeon.dao.SystemUserDao;
import com.tesam.gedeon.entity.SystemUser;
import com.tesam.gedeon.service.SystemUserService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *
 * @author Sistema
 */
@Service
public class SystemUserServiceImpl implements SystemUserService  {

    @Autowired
    private SystemUserDao user;
    
    @Override
    public List<SystemUser> getSearchModuleData(SystemUser User){
        return user.getSearchModuleData(User);
    }
    
    @Override
    public void updateSession(SystemUser User){
    user.updateSession(User);
    }
    
    @Override
    public List<SystemUser> LoginByCookie(SystemUser User){
    return user.loginByCookie(User);
    }
    
    @Override
    public List<SystemUser> getParentTab(){
    return user.getParentTab();
    }
    
    @Override
    public List<SystemUser> getModule(SystemUser User){
    return user.getModule(User);
    }
    
    @Override
    public void logout(SystemUser User){
    user.logout(User);
    }
    
    @Override
    public List<SystemUser> getSession(SystemUser User){
     return user.getSession(User);
    }
    
    @Override
    public List<SystemUser> getModuleData(SystemUser User){
    return user.getModuleData(User);
    }
    
    @Override
    public int save(SystemUser User) {
          return user.save(User);
    }

     @Override
     public List<SystemUser> login(SystemUser User){
     return user.login(User);
     }
    
    @Override
    public int update(SystemUser User) {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public int delete(int id) {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public List<SystemUser> getAll() {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public List<SystemUser> getAllByLimit(int startLimit, int endLimit, String dataToSort, String directionOfOrder) {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public List<SystemUser> searchByName(SystemUser User, int startLimit, int endLimit) {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public SystemUser getById(int id) {
        return user.getById(id);
    }
    
    @Override
    public List<SystemUser> getModuleSearch(SystemUser User){
        return user.getModuleSearch(User);
    }
    
    @Override
    public List<SystemUser> getParentTabSearch(SystemUser User){
        return user.getParentTabSearch(User);
    }
    
}

